package com.sec.etech.bpm.constant;

import org.slf4j.Logger;

public enum EtechOpinionStatus {
    START("start", "提交/启动"),
    CREATE("create", "创建"),
    END("end", "结束"),
    AWAITING_CHECK("awaiting_check", "待审批"),
    AGREE("agree", "提交/同意"),
    OPPOSE("oppose", "反对"),
    ABANDON("abandon", "弃权"),
    REJECT("reject", "驳回"),
    REJECT_TO_START("rejectToStart", "驳回到发起人"),
    REVOKER("revoke", "撤销"),
    RECALL_TO_START("recall_to_start", "撤回到发起人"),
    SIGN_PASSED("signPass", "会签通过"),
    SIGN_NOT_PASSED("signNotPass", "会签不通过"),
    SIGN_RECYCLE("signRecycle", "会签回收"),
    SKIP("skip", "跳过执行"),
    TURN("turn", "转办"),
    CANCELLED("cancelled", "任务取消"),
    MANUAL_END("manualEnd", "人工终止"),
    ADD_DO("addDo", "加办"),
    ADD_DO_AGREE("addDoAgree", "处理加办"),
    RECALL("recall", "撤回");

    private String key = "";

    private String value = "";

    protected static Logger LOG;

    EtechOpinionStatus(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() { return this.key; }

    public void setKey(String key) { this.key = key; }

    public String getValue() { return this.value; }

    public void setValue(String value) { this.value = value; }

    public String toString() { return this.key; }
}
